* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

/* 颜色：浅紫#6d5ed4 紫色#6556bf 黑色#20202a 深灰#242834 浅灰#2b2f3b 粉色#d6dbd9 橙色#d26f5c 浅蓝色#bfd5e3 浅肉色#d5c19c 字体#39383e 亮绿#2ecc71*/
body {
    background-color: #20202a;
}

/*  返回按钮部分  */
.back {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: xxx-large;
    font-weight: 700;
    background-color: #242834;
    color: #fff;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

/* 闭眼小男孩部分 */
.boy {
    position: absolute;
    height: 85px;
    width: 150px;
    top: -83px;
    left: 10%;
    background: no-repeat url('/chapter12/Image/littleBoy.png');
    background-size: contain;
}

.hand-r,
.hand-l {
    background-color: #d19c72;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 70px;
    border-radius: 20px;
    transition: all 0.5s;
    transform: scaleY(0.8);
}

.hand-l {
    left: 20px;
    box-shadow: inset -2px -2px rgba(0, 0, 0, 0.1);
}

.hand-r {
    right: 28px;
    box-shadow: inset 2px -2px rgba(0, 0, 0, 0.1);
}

/* 注册提示信息 */
.tips {
    width: 200px;
    height: 100px;
    background-color: #242834;
    position: absolute;
    border-radius: 10%;
    top: -50px;
    right: -200px;
    color: #fff;
    text-align: center;
}

.tips::after {
    content: '';
    position: absolute;
    border-bottom: 45px solid #242834;
    border-right: 25px solid transparent;
    top: 80px;
    left: 5px;
    transform: rotate(110deg);
}

.tips div {
    margin-top: 40px;
    opacity: 1;
    font-size: smaller;
}

/* 登录部分 */
.register {
    position: relative;
    background-color: #242834;
    margin: 150px auto 50px auto;
    width: 600px;
    height: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 10px;
    color: #fff;
    font-size: large;
}

/* 登录标题 */
.register h1 {
    color: #fff;
    font-weight: 600;
    margin: 15px 0;
}

/* 文本框 */
input[type="text"],
input[type="password"],
.radio_box {
    background: none;
    display: block;
    border: 2px solid #6d5ed4;
    text-align: center;
    width: 400px;
    padding: 10px 0;
    border-radius: 20px;
    outline: none;
    color: #fff;
    transition: all 0.2s;
}

.one_line {
    margin: 10px auto 20px;
}

.two_line {
    margin: 5px auto 5px;
}

input[name="pw_again"] {
    margin-bottom: 20px;
}

/* 单选框 */
.radio_box {
    font-size: xx-small;

}

/* 单选框自定义样式 */
input[type="radio"]+label::before {
    content: "\a0";
    display: inline-block;
    vertical-align: .2em;
    width: 1.5em;
    height: 1.5em;
    margin-right: .2em;
    border-radius: .2em;
    background-color: silver;
    text-indent: .15em;
    line-height: .65;
}

input[type="radio"]:checked+label::before {
    content: "\2713";
    background-color: yellowgreen;
}

input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

/* 聚焦变色效果 */
input[type="text"]:focus,
input[type="text"]:hover,
input[type="password"]:focus,
input[type="password"]:hover,
.radio_box:focus,
.radio_box:hover {
    border-color: #2ecc71;
}

/* 提交按钮 */
input[type="button"] {
    background: none;
    display: block;
    margin: 30px auto 0;
    border: 2px solid #2ecc71;
    text-align: center;
    width: 200px;
    padding: 10px 0;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

/* 发送验证码按钮 */
input[name="spend_phone"] {
    margin-top: 5px;
}

input[type="button"]:hover {
    background-color: #2ecc71;
}

/* 点击返回顶部查看提示 */
.register_tips {
    font-size: x-small;
    position: absolute;
    bottom: 1%;
    right: 2%;
    color: #d26f5c;
    opacity: 0;
}

.register_tips:hover {
    cursor: pointer;
}